package com.jrx.anytxn.param.dto.product;

import com.jrx.anytxn.param.entity.PrPaymentSequenceFactorTable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.List;

/**
 * @Classname PaymentSequenceTableReq
 * @Description yf
 * @Date 2019/6/14 0014 下午 13:27
 * @author  by Administrator
 */
@ApiModel(value = "PaymentSequenceTable对象", description = "还款顺序对象")
public class PaymentSequenceTableReq implements Serializable {

    private static final long serialVersionUID = 5039469998836301690L;

    /**
     * 还款因子列表
     */
    @ApiModelProperty(value = "还款因子列表")
    private List<PrPaymentSequenceFactorTable> controlReqList;

    public List<PrPaymentSequenceFactorTable> getControlReqList() {
        return controlReqList;
    }

    public void setControlReqList(List<PrPaymentSequenceFactorTable> controlReqList) {
        this.controlReqList = controlReqList;
    }

    /**
     * 表字段:id
     */
    @ApiModelProperty(value = "主键")
    private Long id;

    /**
     * 租戶id
     * 表字段:tenant_id
     */
    private String tenantId;

    /**
     * 还款顺序ID
     * 表字段:payment_sequence_id
     */
    @ApiModelProperty(value = "还款顺序ID")
    private String paymentSequenceId;

    /**
     * 机构号
     * 表字段:organization_id
     */
    @ApiModelProperty(value = "机构号")
    private String organizationId;

    /**
     * 状态（1=正常，0=失效）
     * 表字段:status
     */
    @ApiModelProperty(value = "状态（1=正常，0=失效）")
    private String tableStatus;

    /**
     * 描述
     * 表字段:desc
     */
    @ApiModelProperty(value = "描述")
    private String description;

    /**
     * 优先冲减顺序（0=按期优先，1=按余额类型优先）
     * 表字段:precedence
     */
    @ApiModelProperty(value = "优先冲减顺序（0=按期优先，1=按余额类型优先）")
    private String precedence;

    /**
     * 最后更新操作员
     * 表字段:update_by
     */
    private String updateBy;

    public String getTenantId() {
        return tenantId;
    }

    public void setTenantId(String tenantId) {
        this.tenantId = tenantId;
    }

    /**
     * 获取
     *
     * @return id Long
     */
    public Long getId() {
        return id;
    }

    /**
     * 设置
     *
     * @param id
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * 获取还款顺序ID
     *
     * @return paymentSequenceId String
     */
    public String getPaymentSequenceId() {
        return paymentSequenceId;
    }

    /**
     * 设置还款顺序ID
     *
     * @param paymentSequenceId 还款顺序ID
     */
    public void setPaymentSequenceId(String paymentSequenceId) {
        this.paymentSequenceId = paymentSequenceId;
    }

    /**
     * 获取机构号
     *
     * @return organizationId String
     */
    public String getOrganizationId() {
        return organizationId;
    }

    /**
     * 设置机构号
     *
     * @param organizationId 机构号
     */
    public void setOrganizationId(String organizationId) {
        this.organizationId = organizationId;
    }

    public String getTableStatus() {
        return tableStatus;
    }

    public void setTableStatus(String tableStatus) {
        this.tableStatus = tableStatus;
    }

    /**
     * 获取描述
     *
     * @return description String
     */
    public String getDescription() {
        return description;
    }

    /**
     * 设置描述
     *
     * @param description 描述
     */
    public void setDescription(String description) {
        this.description = description;
    }

    /**
     * 获取优先冲减顺序（0=按期优先，1=按余额类型优先）
     *
     * @return precedence String
     */
    public String getPrecedence() {
        return precedence;
    }

    /**
     * 设置优先冲减顺序（0=按期优先，1=按余额类型优先）
     *
     * @param precedence 优先冲减顺序（0=按期优先，1=按余额类型优先）
     */
    public void setPrecedence(String precedence) {
        this.precedence = precedence;
    }

    public String getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy;
    }
}
